package com.unlcn.ils.kas.service.util.enums.order;

/**
 * 常用异常枚举（0-1000）
 * @author 罗必量
 */
public enum OrderDetailIsmanualEnum {

    NO(0, "否"),
    YES(1, "是");

    private final Integer code;
    private final String text;

    OrderDetailIsmanualEnum(Integer code, String text) {
        this.code = code;
        this.text = text;
    }

    /**
     * Gets code.
     *
     * @return the code
     */
    public Integer getCode() {
        return code;
    }

    /**
     * Gets text.
     *
     * @return the text
     */
    public String getText() {
        return text;
    }
}
